/*
 Navicat Premium Data Transfer

 Source Server         : localhost_3306
 Source Server Type    : MySQL
 Source Server Version : 80032 (8.0.32)
 Source Host           : localhost:3306
 Source Schema         : renli_manager

 Target Server Type    : MySQL
 Target Server Version : 80032 (8.0.32)
 File Encoding         : 65001

 Date: 27/03/2023 20:56:42
*/

SET NAMES utf8mb4;
SET FOREIGN_KEY_CHECKS = 0;

-- ----------------------------
-- Table structure for work_day
-- ----------------------------
DROP TABLE IF EXISTS `work_day`;
CREATE TABLE `work_day` (
  `id` bigint NOT NULL AUTO_INCREMENT,
  `staff_id` bigint NOT NULL COMMENT '员工id',
  `full_attendance` int NOT NULL DEFAULT '1' COMMENT '全勤1，没有全勤0',
  `day_late` int NOT NULL DEFAULT '0' COMMENT '迟到天数',
  `days_lost` int NOT NULL DEFAULT '0' COMMENT '缺勤天数',
  `work_overtime` int NOT NULL DEFAULT '0' COMMENT '加班时长',
  `name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL COMMENT '员工姓名',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=1639965997866926082 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;

-- ----------------------------
-- Records of work_day
-- ----------------------------
BEGIN;
INSERT INTO `work_day` (`id`, `staff_id`, `full_attendance`, `day_late`, `days_lost`, `work_overtime`, `name`) VALUES (1, 1639196442747977730, 1, 0, 0, 0, '徐先知');
INSERT INTO `work_day` (`id`, `staff_id`, `full_attendance`, `day_late`, `days_lost`, `work_overtime`, `name`) VALUES (1639883785964339202, 1639883785855287298, 1, 0, 0, 0, '林大小');
INSERT INTO `work_day` (`id`, `staff_id`, `full_attendance`, `day_late`, `days_lost`, `work_overtime`, `name`) VALUES (1639893761977950210, 1639893761873092610, 1, 0, 0, 0, '徐先知');
INSERT INTO `work_day` (`id`, `staff_id`, `full_attendance`, `day_late`, `days_lost`, `work_overtime`, `name`) VALUES (1639893783222099969, 1639893783121436673, 1, 0, 0, 0, '徐先知');
INSERT INTO `work_day` (`id`, `staff_id`, `full_attendance`, `day_late`, `days_lost`, `work_overtime`, `name`) VALUES (1639893804113928193, 1639893804017459201, 1, 0, 0, 0, '徐先知');
INSERT INTO `work_day` (`id`, `staff_id`, `full_attendance`, `day_late`, `days_lost`, `work_overtime`, `name`) VALUES (1639893824619880449, 1639893824196255745, 1, 0, 0, 0, '徐先知');
INSERT INTO `work_day` (`id`, `staff_id`, `full_attendance`, `day_late`, `days_lost`, `work_overtime`, `name`) VALUES (1639893842818965505, 1639893842714107906, 1, 0, 0, 0, '徐先知');
INSERT INTO `work_day` (`id`, `staff_id`, `full_attendance`, `day_late`, `days_lost`, `work_overtime`, `name`) VALUES (1639965997866926081, 1639965997678182402, 1, 0, 0, 30, '测试3');
COMMIT;

SET FOREIGN_KEY_CHECKS = 1;
